MailPoet\Config\Menu A

Total Complexity 69
Dependencies 31
Dependents 15
Total lines 777
Lines of code 588
Logical lines of code 163
Comment lines 50
Methods 40
Properties 8

Methods 40

Method Rating Maintainability Complexity Lines of code
registerMailPoetSubMenuEntries()
A
26
2 252
highlightNestedMailPoetSubmenus()
A
49 10 32
setup()
A
44 6 54
isOnMailPoetAdminPage()
S
58 6 16
addErrorPage()
S
54 5 23
registerAutomationMenu()
S
47 1 44
registerMailPoetMenu()
S
51 1 34
getPageFromContext()
S
67 3 7
checkPremiumKey()
S
68 3 6
isOnMailPoetAutomationPage()
S
61 2 13
init()
S
64 1 11
export()
S
81 1 3
newletterEditor()
S
81 1 3
emailEditor()
S
81 1 3
import()
S
81 1 3
__construct()
S
67 1 8
formEditor()
S
81 1 3
formEditorTemplateSelection()
S
81 1 3
setPageTitle()
S
70 1 7
forms()
S
81 1 3
errorPageCallback()
S
89 1 2
newsletters()
S
81 1 3
subscribers()
S
81 1 3
segments()
S
81 1 3
help()
S
81 1 3
disableWPEmojis()
S
76 1 4
welcomeWizard()
S
81 1 3
landingPage()
S
81 1 3
wooCommerceSetup()
S
81 1 3
upgrade()
S
81 1 3
settings()
S
81 1 3
homepage()
S
81 1 3
lists()
S
81 1 3
automation()
S
81 1 3
automationTemplates()
S
81 1 3
automationEditor()
S
81 1 3
automationAnalytics()
S
81 1 3
experimentalFeatures()
S
81 1 3
logs()
S
81 1 3
checkIsGutenbergEmailEditorPage()
S
80 1 3